package com.zch.rpc.core.enums;

/**
 * @Auther: zch
 * @Date: 2018/12/28 20:39
 * @Description:
 */
public enum ProtocolEnum {
    DUBBO("dubbo","dubbo 协议"),
    RESTFUL("restful","restful 协议")
    ;

    ProtocolEnum(String value, String name) {
        this.value = value;
        this.name = name;
    }

    private String value;
    private String name;

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
